<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/8/27
  Time: 15:06
  To change this template use File | Settings | File Templates.
--%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>Title</title>
    <link href="<%=basePath%>static/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">表单</a></li>
    </ul>
</div>
<form action="<%=basePath%>roleController/FPRole.do" method="post">
    <input type="hidden" name="userIdStr" value="${user_db.userId}">
    <div class="formbody">

        <div class="formtitle"><span>分配用户信息:&nbsp;&nbsp;&nbsp;<font color="#dc143c">${user_db.name}</font> &nbsp;${message}</span></div>

        <c:forEach items="${role_dbList}" var="role_db">
            <input type="radio" id="${role_db.roleId}" name="roleIdSTR" value="${role_db.roleId}"
                   <c:if test="${role_db.roleId==Role_db_XZ.roleId}">checked="checked"</c:if>
            >${role_db.roleName}
        </c:forEach>
        <p>&nbsp; </p>
        <p>&nbsp; </p>
        <p>&nbsp; </p>
        <p>&nbsp; </p>
        <ul class="forminfo">
            <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认保存"/></li>
        </ul>
    </div>
</form>
</body>
</html>
